<?php include "../config.php"; ?>
<?php
	//电子邮件发送程序
	//引入发送email必须的文件
	include_once (ROOT_PATH_."/application/mailbox/mail.php");
	
	//组织好邮箱地址的数组
	
	
	$host    =  $_REQUEST['host_url']?  $_REQUEST['host_url'] : $_SERVER['HTTP_HOST']; //取得进入所输入的域名
	$content = $_REQUEST['content']; //取得进入所输入的域名
	
	$mailaddress = $_REQUEST['mailaddress'];
	
	
	//启动函数
	send_mail($mailaddress,$content,$host);
?>